﻿namespace FFF.Test.Application.Repositories.FW
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using Abp.Domain.Repositories;
    using Abp.EntityFrameworkCore;
    using Abp.ObjectMapping;
    using FFF.Test.DataAccess.Framework;
    using FFF.Test.Application.Repositories.FW;
    using FFF.Test.Entity.FW;
    using FFF.Test.Entity.FW.Dto;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Application.PublicService.AppService.TreeGrid;

    /// <summary>
    /// 标准角色用户中间表仓储接口
    /// </summary>
    public interface IFWStandardRole2USerRepository :
        IRepository<FWStandardRole2USerEntity,
        Guid>, IRepositoriesBase<FWStandardRole2USerEntity, Guid, FWStandardRole2USerCreateInputDto, FWStandardRole2USerUpdateInputDto, FWStandardRole2USerDto, ViewFWStandardRole2USer, ViewFWStandardRole2USer>
    {
        /// <summary>
        /// 获取中间表id集合通过用户id
        /// </summary>
        /// <param name="userGUID">用户GUID</param>
        /// <returns>用户权限id</returns>
        Task<List<Guid>> GetIDsByUserId(Guid userGUID);
    }
}
